from exts import db


class Massage(db.Model):
    __tablename__ = "massage"  # 表名
    id = db.Column(db.Integer, primary_key=True, autoincrement=True)  # 创建属性,类型为integer,设为主键,自增
    title = db.Column(db.String(100), nullable=False)  # valchar(100), 非空
    content = db.Column(db.String(100), nullable=False)  # valchar(100), 非空
